﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Domain.Model.Sys
{
    public class Sec_Role:AggregateRoot
    {
        private Sys_Client sys_Client;
        private Sec_Role parentRole;
        private bool isActive;
        private DateTime created;
        private Sec_User createdBy;
        private DateTime updated;
        private Sec_User updatedBy;
        private string name;
        private string description;

        public string Description
        {
            get { return description; }
            set { description = value; }
        }

        public string Name
        {
            get { return name; }
            set { name = value; }
        }


        public Sec_Role ParentRole
        {
            get
            {
                return parentRole;
            }
            set
            {
                parentRole = value;
            }
        }

        public Sec_User UpdatedBy
        {
            get { return updatedBy; }
            set { updatedBy = value; }
        }

        public DateTime Updated
        {
            get { return updated; }
            set { updated = value; }
        }

        public Sec_User CreatedBy
        {
            get { return createdBy; }
            set { createdBy = value; }
        }

        public DateTime Created
        {
            get { return created; }
            set { created = value; }
        }

        public bool IsActive
        {
            get { return isActive; }
            set { isActive = value; }
        }

        public Sys_Client Sys_Client
        {
            get { return sys_Client; }
            set { sys_Client = value; }
        }
    }
}
